package com.rover022.flixelgame.ui.battle
{
	import com.rover022.flixelgame.manager.WorldManager;
	import com.rover022.flixelgame.ui.BaseUI;
	import com.rover022.flixelgame.world.CityState;
	
	import flash.events.Event;
	
	public class BattleOverInfo extends BaseUI
	{
		/**
		 * 战斗结束时候的统计面板; 
		 */		
		public function BattleOverInfo()
		{
			super();
		}
		
		/**
		 * 重写关闭方法..
		 * 按普通逻辑打完之后应该回主城 
		 * @param e
		 * 
		 */		
		override public function close(e:Event=null):void
		{
			// TODO Auto Generated method stub
			super.close(e);
			var city:CityState = new CityState();
			WorldManager.getInstance().gotoWorld(WorldManager.CITY,city);// 战斗结束后回到主城
			WorldManager.getInstance().showPop("副本按钮");//继续开启副本按钮
		}
		
		
		
		
	}
}